﻿using AutoCode.Model.MarkAttribute;

namespace SourceGeneratorApp.InterfaceGenerator
{
    [AutoInterface("IDataCenterV3",
        "F:\\个人工具资料\\Miao.NetCore\\miao.-net-core\\SourceGenerator\\SourceGeneratorApp\\InterfaceGenerator")]
    public class DataCenterV2
     : IDataCenterV3
    {
        //[AutoIgnore]
        public int QueryCurrentDay(DateTime dateTime)
        {
            return dateTime.Day;
        }

        public int QueryCurrentYear()
        {
            return DateTime.Now.Year;
        }

        public int QueryCurrentMonth()
        {
            return DateTime.Now.Month;
        }
    }
}
